#pragma once

#define NULLp ((int (ClientConnect::*)())0x0)
#define WAY_SC 0
#define WAY_CS 1

class ClientConnect;

typedef struct ClientPacket {
	int way;
	int id;
	int (ClientConnect::* fct)();
} ClientPacket;

static ClientPacket packets_base[] = {
	{ WAY_SC, 0x00, NULLp },
	{ WAY_SC, 0x01, NULLp },
	{ WAY_SC, 0x03, NULLp },
	{ WAY_SC, 0x04, NULLp },
	{ WAY_SC, 0x06, NULLp },
	{ WAY_SC, 0x0D, NULLp },
	{ WAY_SC, 0x10, NULLp },
	{ WAY_SC, 0x17, NULLp },
	{ WAY_SC, 0x18, NULLp },
	{ WAY_SC, 0x1C, NULLp },
	{ WAY_SC, 0x23, NULLp },
	{ WAY_SC, 0x28, NULLp },
	{ WAY_SC, 0x38, NULLp },
	{ WAY_SC, 0x46, NULLp },
	{ WAY_SC, 0x67, NULLp },
	{ WAY_SC, 0x68, NULLp },
	{ WAY_SC, 0xC9, NULLp },
	{ WAY_SC, 0xCA, NULLp },
	{ WAY_SC, 0xFA, NULLp }
};
